<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/Login.css"/>
</head>
<body>
  <form action="${pageContext.request.contextPath }/login" method="post" id="Login-box">
    <input type="hidden" name="type" value="user">
		  <h1>登陆</h1>
		  <h3><font color="red">${msg}${SPRING_SECURITY_LAST_EXCEPTION.message}</font></h3>
		  <br>
			<input type="text" placeholder="UserName"  name="username" class='login1 user input' />
			<input type="password" placeholder="Password" name="password" class='login1 key input' />
			<input type="submit" value="登陆" class="input submit" />
			<input type="button"  class="input submit"  onclick="location.href='${pageContext.request.contextPath }/userRegister.jsp'" value="去注册">
  </form>

<%--  --%>


</body>
</html>
